package com.jy.wms.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.jy.wms.common.base.BaseModel;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
   /**
    * WmsCustomerFileCarrier 实体类
    * Thu Oct 12 13:58:06 CST 2017 Liyi
    */ 

@SuppressWarnings("serial")
@TableName("wms_customer_file_carrier")
public class WmsCustomerFileCarrier extends BaseModel implements Serializable {
	private String Id; 	//ID

	   @NotEmpty(message = "所属客户ID不能为空")
	private String sskhid; 	//所属客户ID

	   @NotEmpty(message = "车牌号不能为空")
	   @Pattern(regexp="^[京,津,渝,沪,冀,晋,辽,吉,黑,苏,浙,皖,闽,赣,鲁,豫,鄂,湘,粤,琼,川,贵,云,陕,秦,甘,陇,青,台,内蒙古,桂,宁,新,藏,澳,军,海,航,警][A-Z][0-9,A-Z]{5}$", message="车牌号格式错误")
	private String cph; 	//车牌号

	   @NotEmpty(message = "司机姓名不能为空")
	   @Length(min = 1, max = 64, message = "司机姓名长度必须位于1到64之间")
	private String sjxm; 	//司机姓名

	   @NotEmpty(message = "司机电话不能为空")
	   @Length(min = 1, max = 64, message = "司机电话长度必须位于1到64之间")
	private String sjdh; 	//司机电话

	private String sfyx; 	//是否有效 0无效 1有效
	   @TableField(exist=false)
	   private String show_sfyx;//是否有效显示
	private String ckid; 	//仓库ID
	public void setId(String Id){
		this.Id=Id;
	}
	public String getId(){
		return Id;
	}
	public void setSskhid(String sskhid){
		this.sskhid=sskhid;
	}
	public String getSskhid(){
		return sskhid;
	}
	public void setCph(String cph){
		this.cph=cph;
	}
	public String getCph(){
		return cph;
	}
	public void setSjxm(String sjxm){
		this.sjxm=sjxm;
	}
	public String getSjxm(){
		return sjxm;
	}
	public void setSjdh(String sjdh){
		this.sjdh=sjdh;
	}
	public String getSjdh(){
		return sjdh;
	}
	public void setSfyx(String sfyx){
		this.sfyx=sfyx;
	}
	public String getSfyx(){
		return sfyx;
	}
	public void setCkid(String ckid){
		this.ckid=ckid;
	}
	public String getCkid(){
		return ckid;
	}

	   public String getShow_sfyx() {
		   return show_sfyx;
	   }

	   public void setShow_sfyx(String show_sfyx) {
		   this.show_sfyx = show_sfyx;
	   }
   }

